/* reset */
* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
    font-family: 'Microsoft YaHei', Arial, Verdana, Sans-Serif;
    color: #fff;
    background: #333;
    line-height: 1.5;
    text-align: center;
}
li{
    list-style: none;
}
/* reset end */
/* cubes */
.container {
    width: 200px;
    float: left;
    margin: 100px 50px 0 0;
    -webkit-perspective: 200;
    -webkit-perspective-origin: 50% 50px;
}

.cube {
    color: red;
    position: relative;
    text-align: center;
    line-height: 100px;
    margin: 0 auto;
    height: 100px;
    width: 100px;
    font-size: 50px;
    font-weight: bolder;
    -webkit-transition: -webkit-transform .5s linear;
    -webkit-transform-style: preserve-3d;
}

.face {
    position: absolute;
    border: 1px solid rgba(200,200,200,0.95);
    height: 98px;
    width: 98px;
    background-color: rgba(250, 250, 250, 0.95);
}

.cube #face1{
  -webkit-transform: rotateX(90deg) translateZ(50px);
}

.cube #face2{
  -webkit-transform: translateZ(50px);
}

.cube #face3{
  -webkit-transform: rotateY(90deg) translateZ(50px);
}

.cube #face4{
    -webkit-transform: rotateY(-90deg) translateZ(50px);
}

.cube #face5{
    -webkit-transform: rotateY(180deg) translateZ(50px);
}

.cube #face6{
  -webkit-transform: rotateX(-90deg) translateZ(50px) rotate(180deg);
}
/* cubes end */

/* button animations */
@-webkit-keyframes redPulse {
    from { background-color: #bc330d; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #e33100; -webkit-box-shadow: 0 0 18px #e33100; }
    to { background-color: #bc330d; -webkit-box-shadow: 0 0 9px #333; }
}
@-webkit-keyframes bluePulse {
    from { background-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #2daebf; -webkit-box-shadow: 0 0 18px #2daebf; }
    to { background-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
}
@-webkit-keyframes greenPulse {
    from { background-color: #749a02; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #91bd09; -webkit-box-shadow: 0 0 18px #91bd09; }
    to { background-color: #749a02; -webkit-box-shadow: 0 0 9px #333; }
}
@-webkit-keyframes orangePulse {
    from { background-color: #d45500; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #ff5c00; -webkit-box-shadow: 0 0 18px #ff5c00; }
    to { background-color: #d45500; -webkit-box-shadow: 0 0 9px #333; }
}


.button{
    display: inline-block;
    background: #222;
    padding: 5px 15px 6px;
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.25);
    position: relative;
    cursor: pointer;
    overflow: visible;
    -webkit-animation-iteration-count: infinite;
}
.button:active {
    -webkit-transform: translateY(1px); -moz-transform: translateY(1px);
}
.button:hover{
    background-color: #007D9A;
}
.button{
    text-align: center;
    margin-top: 10px;
    width:100px;
}

.button.blue{
    background-color: #2DAEBF;
    -webkit-animation-name: bluePulse;
    -webkit-animation-duration: 2s;
}
.button.red{
    background-color: #bc330d;
    -webkit-animation-name: redPulse;
    -webkit-animation-duration: 2s;
}
.button.green{
    background-color: #749a02;
    -webkit-animation-name: greenPulse;
    -webkit-animation-duration: 2s;
}
.button.orange{
    background-color: #d45500;
    -webkit-animation-name: orangePulse;
    -webkit-animation-duration: 2s;
}

.button.unselected{
    background-color: #dcdcdc;
    -webkit-animation-name:none;
}
/* button animations end */

a {
    outline: 0;
    color: #fff;
    text-decoration: none;
}

#page {
    text-align: left;
    margin: 20px auto 20px auto;
    width: 1100px;
    min-height: 550px;
}
#left{
    float: left;
    width: 800px;
}
#cubeArea{
    width:100%;
    clear: both;
    height:400px;
}
#control{
    display: block;
    padding-left: 80px;
    clear: both;
    width: 100%;
}
.buttonColumn{
    margin-right: 50px;
    width:150px;
    float: left;
}
.buttonColumn input{
    padding: 5px 5px 6px;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
    width:115px;
    outline: none;
}
#nameDisplay{
    display: none;
}
#submitArea{
    width:500px;
    text-align: center;
}
a#submit{
    margin-top: 30px;
    width:300px;
}

#right{
    width:300px;
    float: left;
    max-height:600px;
    overflow-y: auto;
}
#right .user{
    background: #ffffff;
    border: #007d9a solid 3px;
    color: black;
    padding: 3px 5px 3px;
    width: 90%;
    margin-bottom: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -webkit-animation-name: orangeBorderPulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}
#right .user li{
    display: inline;
    margin-left: 10px;
}
@-webkit-keyframes orangeBorderPulse {
    from { border-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
    50% { border-color: #2daebf; -webkit-box-shadow: 0 0 18px #2daebf; }
    to { border-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
}
#right .user .userBet .button{
    margin-top: 0;
    width: 10px;
    display: inline-block;
}